package tst.zoo;

import tst.bsi.Animal;
import indi.zjh.dp.orm.Business;
import indi.zjh.dp.orm.Relation;

public class Manager extends Business {
	protected int salary = 0;
	protected Relation animals = new Relation(Animal.class);
	public int getSalary() {
		return salary;
	}
	public void setSalary(int salary) {
		this.salary = salary;
	}
	public Relation getAnimals() {
		return animals;
	}
	@Override
	public String toString() {
		return "Manager [salary=" + salary + ", animals=" + animals + ", _id="
				+ _id + "]";
	}
	
}
